name_list = ['Tom', 'Lily', 'Rose', 'Lily', 'Lily']

print(name_list.count('Lily'))  # 1